Skip to main content

numeric

Type

keyword

Summary

Used with the sort and sort container commands, to sort numbers as a unit, not as a sequence of characters.

Syntax

numeric

Description

Use the numeric keyword when sorting by a field or portion of a container that is a number.

Alphabetical sorting does not take into account the special format of numbers with more than one digit. For example, a normal sort places 72 after 1280, because the first digit of 72 is greater than the first digit of 1280 (7 is greater than 1). The numeric keyword sorts numbers in numeric order, rather than alphabetical order.

Examples

sort cards numeric by field "Social Security Number"

command: sort, sort container

glossary: keyword, command, container, sort

keyword: characters, text, field, numeric

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?